<?php if (!defined('THINK_PATH')) exit(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="<?php echo BASE_DIR; ?>top/admincp.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<script language="javascript" src="<?php echo BASE_DIR; ?>js/pop.js"></script>
</HEAD>
<BODY topMargin=10>
<DIV id=append_parent></DIV>
<TABLE cellSpacing=6 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=guide cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>常用模块&nbsp;»&nbsp;友情链接</TD>
        </TR></TBODY></TABLE><BR>
      <FORM action="" method=post enctype="multipart/form-data" name=settings id=settings>
        <TABLE class=tableborder cellSpacing=0 cellPadding=0 width="100%" 
border=0>
        <TBODY>
        <TR class=header>
          <TD colSpan=2>修改友情链接<IMG 
            id=menuimg_b8e6f4fa493903c4 
            style="MARGIN-TOP: -12px; FLOAT: right; MARGIN-RIGHT: 8px" 
            src="<?php echo BASE_DIR; ?>top/menu_reduce.gif" border=0></TD></TR>
        <TBODY id=menu_b8e6f4fa493903c4>
        <TR>
          <TD class=altbg1 width="35%"><B>链接所属分类:</B><BR>
          友情链接所属分类</TD>
          <TD width="65%" class=altbg2><select name="cid" id="cid">
            <option value="<?php echo $L['cid']; ?>">不修改</option>
			<?php foreach($C as $class): ?>
				<option value="<?php echo $class['cid']; ?>"><?php echo $class['name']; ?></option>
			<?php endforeach; ?>
          </select>
            <input name="fid" type="hidden" id="fid" value="<?php echo $L['fid']; ?>"></TD>
        </TR>
        <TR>
          <TD class=altbg1 width="35%"><B>分类名称:</B><BR>
            <SPAN 
            class=smalltxt>最大输入字符30个</SPAN></TD>
          <TD class=altbg2><INPUT 
            name=name id="name" value="<?php echo $L['name']; ?>" size=50> </TD></TR>
        <TR>
          <TD class=altbg1 width="35%"><B>分类说明:</B><BR>
            <SPAN 
            class=smalltxt>最大输入字符90个</SPAN></TD>
          <TD class=altbg2><INPUT 
            name=note id="note" value="<?php echo $L['note']; ?>" size=50> </TD></TR>
        <TR>
          <TD class=altbg1 width="35%"><B>链接显示方式:</B><BR>
            <SPAN 
            class=smalltxt>文字or图片</SPAN></TD>
          <TD class=altbg2><select name="show">
		  	<option value="<?php echo $L['show']; ?>">保持老设置</option>
            <option value="FONT">默认 - 文字</option>
            <option value="IMG">图片</option>
          </select>          </TD>
        </TR>
        <TR>
          <TD class=altbg1 width="35%"><B>链接地址:</B><BR>
            <SPAN 
            class=smalltxt>对方的友情链接地址</SPAN></TD>
          <TD class=altbg2><INPUT name=address id="address" value="<?php echo $L['address']; ?>" size=50> </TD></TR>
        <TR>
          <TD class=altbg1 width="35%"><B>排序:</B><BR>
            <SPAN 
            class=smalltxt>在友情链接中的排序</SPAN></TD>
          <TD class=altbg2><INPUT name=links_order id="links_order" value="<?php echo $L['links_order']; ?>" size=50></TD>
        </TR>
        <TR>
          <TD class=altbg1 width="35%"><B>图片:</B><BR>
            <SPAN 
            class=smalltxt>如果选择上传图片，则此项为必填</SPAN></TD>
          <TD class=altbg2><input type="file" name="file"></TD>
        </TR>
        <TR>
          <TD class=altbg1><B>原始图片:</B><BR>
            <SPAN 
            class=smalltxt>已存在的图片</SPAN></TD>
          <TD class=altbg2>
		  <span onClick="pop.init({type:1,title:'窗口标题文字',url:'/<?php echo $L['links_img']; ?>',width:200,height:200});" ><?php echo $L['links_img']; ?></span></TD>
        </TR>
        </TBODY></TABLE>
        <BR>
      <CENTER>
        <INPUT name=Submit type=submit class=button id="Submit" value="确 认 修 改">
      </CENTER></FORM></TD></TR></TBODY></TABLE><BR><BR>
<DIV class=footer>
<HR width="80%" color=#9db3c5 noShade SIZE=0>
Powered by <A style="COLOR: #666" href="http://www.ThankPHP.com/" 
target=_blank><B>ThankPHP!</B> 0.1.0</A> &nbsp;© 2009-2010, <B><A 
style="COLOR: #666" href="http://www.ThankPHP.com/" target=_blank>ThankPHP 
Inc.</A></B><SPAN class=smalltxt></SPAN></DIV>
</BODY></HTML>
